package com.miplus.ccrm.core.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseMapper;
import com.miplus.ccrm.core.controller.vo.ficase.*;
import com.miplus.ccrm.core.pojo.FiCreditcasesHist;
import org.apache.ibatis.annotations.Mapper;
import org.apache.poi.hpsf.Decimal;

import java.util.List;

/**
* @author pc
* @description 针对表【fi_creditcases_hist(案件表)】的数据库操作Mapper
* @createDate 2024-04-02 14:40:12
* @Entity com.miplus.ccrm.core.pojo.FiCreditcasesHist
*/

@Mapper
public interface FiCreditcasesHistMapper extends MPJBaseMapper<FiCreditcasesHist> {

    IPage<DistHistResVo> quyDistBatchList(Page<Object> objectPage, DistHistReqVo paras, String usrgrp, String usrid);

    IPage<DistHistResVo> quyDistBatchTailList(Page<Object> objectPage, FiDistBtcTailReqVo paras);

    IPage<CommisResVo> quyCommisList(Page<Object> objectPage, CommisReqVo paras);

    IPage<CommisResVo> quyCommisMthsList(Page<Object> objectPage, CommisReqVo paras);

    IPage<CmsTailResVo> quyCommisTailList(Page<Object> objectPage, CmsTailReqVo paras,String $usrid);

    CommisResVo buildCommisMthsList(String distbatchid, String grpid, Integer overdue1, Integer overdue2,Double aimrate);
}




